package com.changdu.seatunnel.admin.util;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class LogUtils {

	public static void error(String string, Exception e) {
		log.error(string, e);
	}

	public static void info(String msg) {
		log.info(msg);
	}

	public static void warn(String msg) {
		log.warn(msg);
	}	
	
	public static void error(String message, Throwable throwable) {
		log.error(message, throwable);
	}
	
	public static boolean isDebugEnabled() {
		return log.isDebugEnabled();
	}
	
	public static boolean isInfoEnabled() {
		return log.isInfoEnabled();
	}	
}
